package a.e.b.b;

public class p
{
  public static final p a = new p("DIRECTED", 0);
  public static final p b = new p("UNDIRECTED", 1);
  private final String c;
  private final int d;
  public static int e;
  
  private p(String paramString, int paramInt)
  {
    this.c = paramString;
    this.d = paramInt;
  }
  
  public String toString()
  {
    return this.c;
  }
  
  public String a()
  {
    return this.c;
  }
  
  public int a(Object paramObject)
  {
    return this.d - ((p)paramObject).d;
  }
  
  public static p a(String paramString)
  {
    int i = a.b;
    if (i == 0) {
      if (paramString == null) {
        throw new NullPointerException("String value must not be null");
      }
    }
    if (i == 0) {
      if ("DIRECTED".equals(paramString)) {
        return a;
      }
    }
    if ("UNDIRECTED".equals(paramString)) {
      return b;
    }
    throw new IllegalArgumentException("Unknown String value " + paramString + " for enumeration");
  }
}


/* Location:           E:\idea\
 * Qualified Name:     a.e.b.b.p
 * JD-Core Version:    0.7.0.1
 */